home *** CD-ROM | disk | FTP | other *** search
- GetVolumeName Release 1.005
- GetVolumeName © Copyright 1995 Frank Peters, All Rights Reserved.
-
-
-
- DISCLAIMER
-
- THE AUTHOR MAKES NO WARRANTIES, EITHER EXPRESSED OR IMPLIED, WITH
- RESPECT TO THE MATERIAL DESCRIBED HEREIN, ITS QUALITY, PERFORMANCE,
- MERCHANTABILITY, OR FITNESS FOR ANY PARTICULAR PURPOSE. THIS MATERIAL
- IS PROVIDED "AS IS" AND THE ENTIRE RISK AS TO ITS QUALITY AND
- PERFORMANCE IS WITH THE USER. IN NO EVENT WILL THE AUTHOR BE LIABLE FOR
- ANY GENERAL OR SPECIAL DAMAGES, INCLUDING DIRECT, INDIRECT, INCIDENTAL
- OR CONSEQUENTIAL DAMAGES RESULTING FROM THE USE OF THIS PROGRAM
- (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
- INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
- THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS).
-
-
- RIGHTS RESERVED
-
- THE AUTHOR RESERVES THE RIGHT TO MAKE CHANGES IN THE WHOLE MATERIAL
- IDENTIFIED IN THIS PUPLICATION WITHOUT NOTICE AND TO DISTRIBUTE OTHER
- REVISIONS UNDER DIFFERENT LICENCE STATEMENTS AND/OR CONDITIONS.
-
-
-
- Note:
- -----
- I hate writing docs, so it will be very brief.
-
- What does it do:
- ----------------
-
- It prints out the volumename of the given device.
-
- Usage:
- ------
-
- GetVolumeName DEVICENAME/A,[SHORT|STRINGFILE]
-
-
- Example:
-
- GetVolumeName CD0:
-
- Output:
-
- Volumename of 'cd0:' is: 'SET1C'
-
- Example:
-
- GetVolumeName CD0: SHORT
-
- Output:
-
- SET1C
-
- GetVolumeName cd0: s:stringfile
-
- Output:
-
- depends on which string you put in the stringfile, for more info
- read the next section.
-
-
-
- Requirements:
- -------------
-
- An Amiga =o)
- Any kickstart/workbench (3.0, 3.1 tested but should work at any other
- kickstart)
-
- Installation:
- -------------
-
- Copy GetVolumeName to any path and rename it anyway you like.
-
- Stringfile:
- -----------
-
- The string file may consist out of empty lines, comments, and the actual
- string to use.
-
- Example:
- ---- 8< -- Cut Here -- 8< ----
- & This is a comment, everything that starts with an '&' will be diregarded.
-
- Current volume in device CD0: is '%s'.
-
- ---- 8< -- Cut Here -- 8< ----
-
- Will print out
-
- Current colume in device CD0: is 'SET1C'.
-
- Remember to put in 1 '%s' for substitution of the Volumename.
-
- It is also possible to put in ANSI escape codes,
- as long as you provide an '%s' in the string.
-
-
- Bugs:
- -----
-
- Reports Bugs to:
-
- frankp@via.nl
- or frankp@online.via.nl
-
- Suggestions:
- ------------
-
- Please send me any suggestions you want, and i'll try to implent them.
-
- End:
- ----
-